﻿using ProgrammingEducationSystem.Models;
namespace ProgrammingEducationSystem.Repository.IRepository
{
    public interface ICourseHourRepository : IBaseRepository<CourseHour> 
    {

        /// <summary>
        /// 根据教室寻找课程
        /// </summary>
        /// <returns></returns>
        Task<List<CourseHour>> GetByClassRoomIdAsync(Guid classRoomId);
        Task<List<CourseHour>> GetByClassIdAsync(Guid classId);
        Task<List<CourseHour>> GetByStuIdAsync(string stuId);
        Task<List<CourseHour>> GetByTeaIdAsync(string teaId);
        
    }
}
